import QtQuick

Rectangle {
    width: 200
    height: 200
    
    SystemPalette {
        id: sysPalette
        colorGroup: SystemPalette.Active
    }
    
    Column {
        spacing: 10
        anchors.centerIn: parent
        
        Rectangle {
            width: 150
            height: 40
            color: sysPalette.window
            Text {
                anchors.centerIn: parent
                text: "Window"
                color: sysPalette.windowText
            }
        }
        
        Rectangle {
            width: 150
            height: 40
            color: sysPalette.button
            Text {
                anchors.centerIn: parent
                text: "Button"
                color: sysPalette.buttonText
            }
        }
        
        Rectangle {
            width: 150
            height: 40
            color: sysPalette.highlight
            Text {
                anchors.centerIn: parent
                text: "Highlight"
                color: sysPalette.highlightedText
            }
        }
    }
} 